#include <iostream>
#include <vector>
#include <string>
using namespace std;

string str = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";

int main(){
    char ch;
    while((ch = getchar())!=EOF){
        int i=0;
        while(i<str.size() && str[i]!=ch){
            i++;
        }
        if(i<str.size()){
            cout<<str[i-1];
        } else {
            cout<<ch;
        }
    }

    return 0;
}